From: Anton Gladky Date: Thu, 5 Feb 2026 19:55:34 +0000 (+0100) Subject: Fix FTBFS X-Git-Tag: archive/raspbian/9.5.2+dfsg3-6+rpi1^2~5 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=4151471520a147e4e01a934bb8bbf9ceff001bd2;p=vtk9.git Fix FTBFS Last-Update: 2021-11-14 Gbp-Pq: Name 99_fix_ftbfs.patch --- diff --git a/CMake/vtkCompilerExtraFlags.cmake b/CMake/vtkCompilerExtraFlags.cmake index f8b46425..8cc64559 100644 --- a/CMake/vtkCompilerExtraFlags.cmake +++ b/CMake/vtkCompilerExtraFlags.cmake @@ -3,7 +3,7 @@ if(CMAKE_COMPILER_IS_GNUCXX) include(CheckCXXCompilerFlag) # Additional warnings for GCC - set(CMAKE_CXX_FLAGS_WARN "-Wnon-virtual-dtor -Wno-long-long -ansi -Wcast-align -Wchar-subscripts -Wall -Wextra -Wpointer-arith -Wformat-security -Woverloaded-virtual -Wshadow -Wunused-parameter -fno-check-new -fno-common -Werror=undef") + set(CMAKE_CXX_FLAGS_WARN "-Wnon-virtual-dtor -Wno-long-long -ansi -Wcast-align -Wchar-subscripts -Wall -Wextra -Wpointer-arith -Wformat-security -Woverloaded-virtual -Wshadow -Wunused-parameter -fno-check-new -fno-common") # This flag is useful as not returning from a non-void function is an error # with MSVC, but it is not supported on all GCC compiler versions